/*
 * XML.h
 *
 *  Created on: 20 mars 2012
 *      Author: wseirafi
 */

#ifndef XML_H_
#define XML_H_

#include "config.h"
#include "ElementXML.h"

using namespace std;

class XML {
public:
	XML(char * _styleSheet, char* _DTDname, ElementXML * _root, bool _isValid);
	virtual ~XML();
	ElementXML * getRoot() const;
	string getDTD() const;
	string getStyleSheet() const;
	string toString() const;
	bool getIsValid() const;
	bool setIsValid(bool isValid);

protected :
	string DTDname;
	string styleSheet;
	ElementXML * root;
	bool isValid;
};

#endif /* XML_H_ */
